import {
	axiosApi
} from '../index.js'

const apiList = {
	projectQuery: {
		method: 'POST',
		url: `/costExperiment/queryExperiment`
	},
	inputInfo: {
		method: 'POST',
		url: `/user/inputInfo`
	},
	login: {
		method: 'POST',
		url: `/user/login`
	},
	addUserInfo: {
		method: 'POST',
		url: `/user/selectUserStatus`
	},
	updUserStatus: {
		method: 'POST',
		url: `/user/updUserStatus`
	},
	updPhone: {
		method: 'POST',
		url: `/user/updPhone`
	},
	getExperIment: {
		method: 'GET',
		url: `/experimentReport/list`
	},

}




export default {
	projectQuery(data) {
		return axiosApi({
			...apiList.projectQuery,
			data
		})
	},
	inputInfo(data) {
		return axiosApi({
			...apiList.inputInfo,
			data
		})
	},
	login(data) {
		return axiosApi({
			...apiList.login,
			data
		})
	},
	addUserInfo(data) {
		return axiosApi({
			...apiList.addUserInfo,
			data
		})
	},
	updUserStatus(data) {
		return axiosApi({
			...apiList.updUserStatus,
			data
		})
	},
	updPhone(data) {
		return axiosApi({
			...apiList.updPhone,
			data
		})
	},
	getExperIment(data) {
		return axiosApi({
			...apiList.getExperIment,
			data
		})
	},

}
